package com.hiber;

import java.sql.Date;
import java.sql.Timestamp;

/**
 * Worklog entity. @author MyEclipse Persistence Tools
 */

public class Worklog implements java.io.Serializable {

	// Fields

	private Integer id;
	private String personId;
	private String name;
	private Date time;
	private String workType;
	private String workDetail;
	private String requirements;
	private Timestamp startDate;
	private Timestamp endDate;
	private Float daysNeed;
	private Float progressPercentage;
	private Float hoursToday;
	private String overworkHours;
	private String note;

	// Constructors

	/** default constructor */
	public Worklog() {
	}

	/** full constructor */
	public Worklog(String personId, String name, Date time,
			String workType, String workDetail, String requirements,
			Timestamp startDate, Timestamp endDate, Float daysNeed,
			Float progressPercentage, Float hoursToday, String overworkHours,
			String note) {
		this.personId = personId;
		this.name = name;
		this.time = time;
		this.workType = workType;
		this.workDetail = workDetail;
		this.requirements = requirements;
		this.startDate = startDate;
		this.endDate = endDate;
		this.daysNeed = daysNeed;
		this.progressPercentage = progressPercentage;
		this.hoursToday = hoursToday;
		this.overworkHours = overworkHours;
		this.note = note;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getPersonId() {
		return this.personId;
	}

	public void setPersonId(String personId) {
		this.personId = personId;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getTime() {
		return this.time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public String getWorkType() {
		return this.workType;
	}

	public void setWorkType(String workType) {
		this.workType = workType;
	}

	public String getWorkDetail() {
		return this.workDetail;
	}

	public void setWorkDetail(String workDetail) {
		this.workDetail = workDetail;
	}

	public String getRequirements() {
		return this.requirements;
	}

	public void setRequirements(String requirements) {
		this.requirements = requirements;
	}

	public Timestamp getStartDate() {
		return this.startDate;
	}

	public void setStartDate(Timestamp startDate) {
		this.startDate = startDate;
	}

	public Timestamp getEndDate() {
		return this.endDate;
	}

	public void setEndDate(Timestamp endDate) {
		this.endDate = endDate;
	}

	public Float getDaysNeed() {
		return this.daysNeed;
	}

	public void setDaysNeed(Float daysNeed) {
		this.daysNeed = daysNeed;
	}

	public Float getProgressPercentage() {
		return this.progressPercentage;
	}

	public void setProgressPercentage(Float progressPercentage) {
		this.progressPercentage = progressPercentage;
	}

	public Float getHoursToday() {
		return this.hoursToday;
	}

	public void setHoursToday(Float hoursToday) {
		this.hoursToday = hoursToday;
	}

	public String getOverworkHours() {
		return this.overworkHours;
	}

	public void setOverworkHours(String overworkHours) {
		this.overworkHours = overworkHours;
	}

	public String getNote() {
		return this.note;
	}

	public void setNote(String note) {
		this.note = note;
	}

}